package com.woniu.service;

import com.woniu.entity.PageResult;
import com.woniu.pojo.Coach;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.vo.CoachSearchVo;
import com.woniu.vo.QueryCoachDetailVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xie
 * @since 2022-10-12
 */
public interface ICoachService extends IService<Coach> {

    PageResult queryByItemInPage(Coach coach, long currentPage, long pageSize);

    QueryCoachDetailVo queryDetailById(String id);

    List<CoachSearchVo> queryName();

    List<Coach> findByGym(String id);
}
